package com.itsm.sheet.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.itsm.sheet.entity.JzsyEventSheet;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface JzsyEventSheetMapper extends BaseMapper<JzsyEventSheet> {


//    @Select("select count(1) from fcq_shop fs where fs.platform_id = #{platformId} and fs.town_code = #{townCode}")
//    public int getShopCountInTown(@Param("platformId")Long platformId,
//                                  @Param("townCode")String townCode);
    @Select("select * from jzsy_event_sheet ")
    public List<JzsyEventSheet> getSheetByUser(@Param("userId")Long userId);
}
